package com.aidex.biz.mapper;

import com.aidex.biz.domain.CustomerShadowInfo;
import com.aidex.common.core.mapper.BaseMapper;

import java.util.List;

/**
 * 客户跟踪Mapper接口
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2022-08-06
 */
public interface CustomerShadowInfoMapper extends BaseMapper<CustomerShadowInfo> {

    /**
     * 批量删除客户跟踪
     *
     * @param ids 需要删除的客户跟踪ID集合
     * @return
     */
    public int deleteCustomerShadowInfoByIds(String[] ids);

    /**
     * 获取最大编号
     *
     * @param customerShadowInfo 客户跟踪
     * @return 结果
     */
    public Integer findMaxSort(CustomerShadowInfo customerShadowInfo);
    
    public List<CustomerShadowInfo> findShadowListByCustomerIds(List<String> ids);
}
